<!DOCTYPE html>
<html	xmlns="http://www.w3c.org/1999/xhtml"
		xmlns:h="http://xmlns.jcp.org/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:fn="http://java.sun.com/jsp/jstl/functions"
		xmlns:p="http://primefaces.org/ui">
<h:head>
</h:head>
<h:body>	
	<p:panelGrid columns="1" style="width:100%;">
		<p:panelGrid columns="2" style="width:350px;" columnClasses="column30,column70">
			<h:outputText value="Size:" />
			<h:panelGrid columns="1" style="width:100%;">
				<p:inputText id="fileSize" value="#{adminBean.fileSize}" style="width:98%;"/>
				<p:slider for="fileSize" minValue="1" maxValue="1024"/>
			</h:panelGrid>
	
			<h:outputText value="Size Unit:" />
			<p:selectOneButton value="#{adminBean.unit}">
				<f:selectItem itemLabel="B" itemValue="1" />
				<f:selectItem itemLabel="K" itemValue="1024" />
				<f:selectItem itemLabel="M" itemValue="1048576" />
			</p:selectOneButton>

			<h:outputText value="Path:" />
			<p:inputText value="#{adminBean.parentPath}" style="width:98%;"/>
				       
			<h:outputText value="Thread:" />
			<h:panelGrid columns="1" style="width:100%;">
				<p:inputText id="threadSize" value="#{adminBean.threadSize}" style="width:98%;"/>
				<p:slider for="threadSize" minValue="1" maxValue="100"/>
			</h:panelGrid>
		</p:panelGrid>

		<p:commandButton value="Run" update=":myForm:messages" action="#{adminBean.run}" ajax="true" styleClass="ui-priority-primary" global="true"/>
	</p:panelGrid>
</h:body>
</html>		